Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable a different announcement for premium releases #160

Closed
wants to merge 1 commit into from

Conversation

levitte
Copy link
Member

@levitte levitte commented Jun 23, 2023

The basic data of what is considered premium and what is considered
public releases, a new bash function is added, std_release_type(), found in
release-tools/release-aux/release-data-fn.sh.

Along with this, the non-descript variable 'tag' is renamed to 'release_tag',
and a spelling error is corrected.

Fixes #157

@levitte
Copy link
Member Author

levitte commented Jun 23, 2023

Draft until I've been able to test it

The basic data of what is considered premium and what is considered
public releases, a new bash function is added, std_release_type(), found in
release-tools/release-aux/release-data-fn.sh.

Along with this, the non-descript variable 'tag' is renamed to 'release_tag',
and a spelling error is corrected.

Fixes openssl#157
@levitte levitte marked this pull request as ready for review June 23, 2023 09:27
@levitte
Copy link
Member Author

levitte commented Jun 23, 2023

Tested, so ready for review

release_text="$release"
announce_template=openssl-announce-release.tmpl
announce_template=openssl-announce-release-$release_type.tmpl
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't tracked down if possible to give wrong $VERSION. If yes, this would result in:
"announce_template=openssl-announce-release-.tmpl" since "std_release_type" function returns empty string if doesn't meet the regular expression criteria (to return "premium" or "public".

@t8m t8m added the ready label Jun 23, 2023
@t8m
Copy link
Member

t8m commented Jun 23, 2023

Merged. Thank you.

@t8m t8m closed this Jun 23, 2023
openssl-machine pushed a commit that referenced this pull request Jun 23, 2023
The basic data of what is considered premium and what is considered
public releases, a new bash function is added, std_release_type(), found in
release-tools/release-aux/release-data-fn.sh.

Along with this, the non-descript variable 'tag' is renamed to 'release_tag',
and a spelling error is corrected.

Fixes #157

Reviewed-by: Matt Caswell <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
(Merged from #160)
@levitte levitte deleted the fix-157 branch August 17, 2023 06:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Announcement text for premium releases needs to be changed
4 participants